// import com.alibaba.druid.sql.ast.SQLName_ptr;
// import com.alibaba.druid.sql.ast.SQLObjectImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;
#pragma once
#include "../SQLObjectImpl.h"
#include "SQLAlterTableItem.h"

class SQLAlterTableDropConstraint : virtual public SQLObjectImpl ,virtual public SQLAlterTableItem
{
public:
  SQLName_ptr constraintName;

  BOOL_ptr cascade;
  BOOL_ptr restrict;

  SHAREDOBJECT(SQLAlterTableDropConstraint);
  BOOL_ptr isCascade();

  void setCascade(BOOL_ptr cascade);

  BOOL_ptr isRestrict();

  void setRestrict(BOOL_ptr restrict);

  // @Override
  void accept0(SQLASTVisitor_ptr visitor);

  SQLName_ptr getConstraintName();

  void setConstraintName(SQLName_ptr constraintName);
};
